const crypto/tls.recordHeaderLen
17 uses
crypto/tls (current package)
common.go#L63: recordHeaderLen = 5 // record header length
conn.go#L341: payload := record[recordHeaderLen:]
conn.go#L370: additionalData = record[:recordHeaderLen]
conn.go#L441: localMAC := tls10MAC(hc.mac, hc.scratchBuf[:0], hc.seq[:], record[:recordHeaderLen], payload[:n], payload[n+macSize:])
conn.go#L507: mac := tls10MAC(hc.mac, hc.scratchBuf[:0], hc.seq[:], record[:recordHeaderLen], payload, nil)
conn.go#L528: record = c.Seal(record[:recordHeaderLen],
conn.go#L529: nonce, record[recordHeaderLen:], record[:recordHeaderLen])
conn.go#L532: additionalData = append(additionalData, record[:recordHeaderLen]...)
conn.go#L536: mac := tls10MAC(hc.mac, hc.scratchBuf[:0], hc.seq[:], record[:recordHeaderLen], payload, nil)
conn.go#L555: n := len(record) - recordHeaderLen
conn.go#L625: if err := c.readFromUntil(c.conn, recordHeaderLen); err != nil {
conn.go#L637: hdr := c.rawInput.Bytes()[:recordHeaderLen]
conn.go#L676: if err := c.readFromUntil(c.conn, recordHeaderLen+n); err != nil {
conn.go#L684: record := c.rawInput.Next(recordHeaderLen + n)
conn.go#L901: payloadBytes := tcpMSSEstimate - recordHeaderLen - c.out.explicitNonceLen()
conn.go#L1003: _, outBuf = sliceForAppend(outBuf[:0], recordHeaderLen)
|
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |